<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
	<xsl:output method="xml" indent="yes" encoding="UTF-8"/>

	<xsl:template match="/">
		<html xml:lang="de">
			<head>
				<title><xsl:value-of select="/document/sitename"/></title>
				<meta content="" name="keywords"/>
				<meta content="" name="description"/>
				<meta content="Your Name" name="author"/>
				<meta content="text/html; charset=UTF-8" http-equiv="content-type"/>
				<link rel="P3Pv1" href="{/document/production_url}/p3p.xml"/>
				<link rel="bookmark" href="{/document/production_url}/privacy.html" title="Privacy Policy"/>
				<meta name="privacy" content="{/document/production_url}/privacy.html"/>
				<link rel="copyright" title="Your Name" href="/impressum.html"/>
				<link rel="start" title="Start" href="/"/>
				<link rel="author" title="Kontakt" href="mailto:your@email.address"/>
				<link rel="home" title="home:Homepage" href="/"/>
				<link media="screen" rel="stylesheet" href="{/document/production_url}/css/style.css" type="text/css"/>
				<style type="text/css" media="screen">div#logo { background-image: url(<xsl:value-of select="/document/production_url"/>/images/logo.jpg); }
	div#content { background-image: url(<xsl:value-of select="/document/production_url"/>/images/bg_content.png); }
	div#footer { background-image: url(<xsl:value-of select="/document/production_url"/>/images/bottom.jpg); }</style>
	<xsl:if test="/document/editmode='1'">
		<script language="JavaScript" type="text/javascript" src="js/scripts.js"><xsl:text> </xsl:text></script>
		<script language="JavaScript" type="text/javascript" src="rte/html2xhtml.js"><xsl:text> </xsl:text></script>
		<script language="JavaScript" type="text/javascript" src="rte/richtext.js"><xsl:text> </xsl:text></script>
	</xsl:if>
			</head>
			<body>
				<xsl:if test="/document/editmode='1'">
					<div style="float:right; width:16px; height: 16px;">
						<a href="admin_content_edit_properties.php?{/document/filenamezusatz}">
							<img src="images/edit.gif" border="0" width="16" height="16" alt="Dokumenteigenschaften bearbeiten"/>
						</a>
					</div>
					<br style="clear: both;"/>
				</xsl:if>
				<div id="globaldiv">
				<div id="logo"><br/></div>
				<div id="content">
					<div id="menue">
						<xsl:call-template name="show_navigation"/>
					</div>
					<div id="contents">
						<xsl:apply-templates/>
						<br/>
					</div>
					<br style="clear: both;"/>
					<div id="validator">
						<p>
							<a href="http://validator.w3.org/check?uri=referer" tabindex="100" accesskey="X" hreflang="en" title="W3C Validator">
								<img src="{/document/production_url}/images/valids/valid-xhtml11.png" alt="Valid XHTML 1.1!" height="31" width="88" style="border:0px"/>
							</a>
							<a href="http://jigsaw.w3.org/css-validator/" tabindex="101" accesskey="Y" hreflang="en" title="W3C CSS Validator">
								<img style="border:0;width:88px;height:31px" src="{/document/production_url}/images/valids/vcss.png" alt="Valid CSS!"/>
							</a>
							<img style="border:0;width:88px;height:31px" src="{/document/production_url}/images/valids/valid-xml10.gif" alt="Valid XML 1.0!"/>
							<a href="http://www.w3.org/WAI/WCAG1AAA-Conformance" tabindex="102" accesskey="Z" hreflang="en" title="Explanation of Level Triple-A Conformance" shape="rect">
								<img class="conform" height="32" width="88" src="{/document/production_url}/images/valids/wcag1AAA.png" alt="Level Triple-A conformance icon" style="border:0px;"/>
							</a>
						</p>
					</div>
				</div>
				<div id="footer">
					<br/>
					<a class="small" href="/privacy.html" title="Privacy Policy" tabindex="103" accesskey="P" hreflang="de">Privacy Policy</a>
				</div>
				</div>
			</body>
		</html>
	</xsl:template>

	<xsl:template name="show_navigation">
		<xsl:param name="start" select="/document/navigation/navigation"/>
		<ul>
			<xsl:for-each select="$start">
				<li>
					<xsl:variable name="link">
						<xsl:choose>
							<xsl:when test="/document/adminmode='1'"><xsl:value-of select="concat(/document/realfilename, '?dirname=', ./@id)"/></xsl:when>
							<xsl:when test="./shortname!=''"><xsl:value-of select="concat('/', ./shortname,'/')"/></xsl:when>
							<xsl:otherwise><xsl:value-of select="concat('/', ./@id,'/')"/></xsl:otherwise>
						</xsl:choose>
					</xsl:variable>
					<xsl:variable name="linktarget">
						<xsl:value-of select="./linktarget"/>
					</xsl:variable>
					<a href="{$link}" target="{$linktarget}"><xsl:value-of select="./name" disable-output-escaping="yes"/></a>
					<xsl:if test="./children/navigation">
						<xsl:call-template name="show_navigation">
							<xsl:with-param name="start" select="./children/navigation"/>
						</xsl:call-template>
					</xsl:if>
				</li>
			</xsl:for-each>
		</ul>
	</xsl:template>
</xsl:stylesheet><!-- Stylesheet edited using Stylus Studio - (c)1998-2004. Sonic Software Corporation. All rights reserved. -->